#!/usr/bin/env sh

systemctl disable by6pms 2>/dev/null
rm /usr/lib/systemd/system/by6pms.service -f
#cp /home/uwsgi/by6pms/00_script/script/by6pms.service /usr/lib/systemd/system/ -f
ln -s /home/uwsgi/by6pms/00_script/config/by6pms.service /usr/lib/systemd/system/by6pms.service
systemctl daemon-reload
systemctl enable by6pms
